/* 子进程2的独立程序subp2.c */
#include <stdio.h>
#include <stdlib.h>

int main()
{
    long i;
    printf("child2 is running!\n");
    for (i = 0; i < 999999; i++ );
    printf("child2 is over.\n" );
    exit(0);
}

